local calcAttribute = reload("plugins.cross.calcAttribute")
---重新计算初始体质
return function (arg)
    ---基础体质-洗档
    arg.Vital = arg.baseCore.Vital * arg.InitNum
    arg.Str = arg.baseCore.Str * arg.InitNum
    arg.Tough = arg.baseCore.Tough * arg.InitNum
    arg.Quick = arg.baseCore.Quick * arg.InitNum
    arg.Magic = arg.baseCore.Magic * arg.InitNum

    ---随机体质-10点随机
    arg.Vital = arg.Vital + arg.randCore.Vital * arg.InitNum
    arg.Str = arg.Str + arg.randCore.Str * arg.InitNum
    arg.Tough = arg.Tough + arg.randCore.Tough * arg.InitNum
    arg.Quick = arg.Quick + arg.randCore.Quick * arg.InitNum
    arg.Magic = arg.Magic + arg.randCore.Magic * arg.InitNum

    ---升星体质-满星25
    arg.Vital = arg.Vital + arg.starCore.Vital * arg.InitNum
    arg.Str = arg.Str + arg.starCore.Str * arg.InitNum
    arg.Tough = arg.Tough + arg.starCore.Tough * arg.InitNum
    arg.Quick = arg.Quick + arg.starCore.Quick * arg.InitNum
    arg.Magic = arg.Magic + arg.starCore.Magic * arg.InitNum

    ---道具体质-使用道具
    arg.Vital = arg.Vital + arg.itemCore.Vital * arg.InitNum
    arg.Str = arg.Str + arg.itemCore.Str * arg.InitNum
    arg.Tough = arg.Tough + arg.itemCore.Tough * arg.InitNum
    arg.Quick = arg.Quick + arg.itemCore.Quick * arg.InitNum
    arg.Magic = arg.Magic + arg.itemCore.Magic * arg.InitNum

    ---词条体质-宠物词条(性格)
    arg.Vital = arg.Vital + arg.entryCore.Vital * arg.InitNum
    arg.Str = arg.Str + arg.entryCore.Str * arg.InitNum
    arg.Tough = arg.Tough + arg.entryCore.Tough * arg.InitNum
    arg.Quick = arg.Quick + arg.entryCore.Quick * arg.InitNum
    arg.Magic = arg.Magic + arg.entryCore.Magic * arg.InitNum

    ---加点体质-角色宠物(pb点数)
    arg.Vital = arg.Vital + arg.useBpCore.Vital * arg.InitNum
    arg.Str = arg.Str + arg.useBpCore.Str * arg.InitNum
    arg.Tough = arg.Tough + arg.useBpCore.Tough * arg.InitNum
    arg.Quick = arg.Quick + arg.useBpCore.Quick * arg.InitNum
    arg.Magic = arg.Magic + arg.useBpCore.Magic * arg.InitNum

    return calcAttribute(arg)
end
